package cup.common.common;

import cup.core.tool.constant.RoleConstant;

/**
 * @author : ruoyu
 * @date : 2022/8/1
 */
public interface MyRoleConstant {

	//市级角色
	String HAS_ROLE_CITY="hasAnyRole('city-system')";
	//区县角色
	String HAS_ROLE_DISTRICT="hasAnyRole('district-system')";
	//市级和区县角色
	String HAS_ROLE_CITY_DISTRICT="hasAnyRole('city-system','district-system')";
	//市级审批角色
	String HAS_ROLE_CITY_APPROVAL="hasAnyRole('city-approve-system')";
	//市级用户和admin角色
	String HAS_ROLE_CITY_ADMIN_APPROVAL="hasAnyRole('administrator','admin','city-system')";
	//市级积水点等级复核角色和区级审批角色
	String CITY_CHECK_COUNTY_APPROVER="hasAnyRole('city-check','county-approver')";
}
